package com.jiyun.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/* *
 * @Author nxj
 * @Date 2023 08 2023/8/11 14 30
 * */
@Data
@ToString
@TableName("access")
public class Access  implements Serializable{
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String aname;
    private String worth;
    private String type;
    private Integer pid;

    public Access(Integer id, String aname, String worth, String type, Integer pid) {
        this.id = id;
        this.aname = aname;
        this.worth = worth;
        this.type = type;
        this.pid = pid;
    }

    public Access() {
    }
}
